home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / Xext / XSGIDeviceControl.z / XSGIDeviceControl
Encoding:
Text File  |  2002-10-03  |  3.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXSSSSGGGGIIIIDDDDeeeevvvviiiicccceeeeCCCCoooonnnnttttrrrroooollll((((3333XXXX11111111))))     XXXXSSSSGGGGIIIIMMMMiiiisssscccc      XXXXSSSSGGGGIIIIDDDDeeeevvvviiiicccceeeeCCCCoooonnnnttttrrrroooollll((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XSGIDeviceControl, XSGIDeviceQuery - set/query device
  10.           characteristics for X input devices
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           #include <X11/extensions/SGIMisc.h>
  14.  
  15.           Bool XSGIDeviceControl(
  16.             Display *display,
  17.             int device_id,
  18.             char *name,
  19.             char *value
  20.           )
  21.  
  22.           Bool XSGIDeviceQuery(
  23.             Display *display,
  24.             int device_id,
  25.             char *name,
  26.             char *value
  27.           )
  28.  
  29.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  30.           _d_i_s_p_l_a_y     Specifies the connection to the X server
  31.  
  32.           _d_e_v_i_c_e__i_d   Specifies the id of the device to be accessed
  33.  
  34.           _n_a_m_e        Specifies the name of the device control to be
  35.                       set or queried
  36.  
  37.           _v_a_l_u_e       Specifies the value to be set for a device
  38.                       control, or the location to store the value for
  39.                       a device query
  40.  
  41.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  42.           These functions are part of the _X_S_G_I_M_i_s_c extension.
  43.           _X_S_G_I_M_i_s_c_Q_u_e_r_y_E_x_t_e_n_s_i_o_n(3X11) should be used to determine if
  44.           the extension is supported before calling these functions.
  45.  
  46.           _D_e_v_i_c_e _c_o_n_t_r_o_l_s represent characteristics of X input devices
  47.           that can be changed.  See _i_n_p_u_t(7) for a description of X
  48.           input devices and common device controls.  Specific devices
  49.           may implement other device controls.
  50.  
  51.           _X_S_G_I_D_e_v_i_c_e_C_o_n_t_r_o_l returns _T_r_u_e if the device control
  52.           specified by _n_a_m_e can be set to the specified _v_a_l_u_e.
  53.  
  54.           _X_S_G_I_D_e_v_i_c_e_Q_u_e_r_y returns _T_r_u_e if _n_a_m_e specifies a device
  55.           control or other value that can be queried for the device.
  56.           The array pointed to by _v_a_l_u_e should be large enough to
  57.           contain 24 bytes.
  58.  
  59.           The _d_e_v_i_c_e__i_d used in these calls is the value returned by
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXSSSSGGGGIIIIDDDDeeeevvvviiiicccceeeeCCCCoooonnnnttttrrrroooollll((((3333XXXX11111111))))     XXXXSSSSGGGGIIIIMMMMiiiisssscccc      XXXXSSSSGGGGIIIIDDDDeeeevvvviiiicccceeeeCCCCoooonnnnttttrrrroooollll((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.           _X_L_i_s_t_I_n_p_u_t_D_e_v_i_c_e_s(3X11).  The device should be opened using
  75.           _X_O_p_e_n_D_e_v_i_c_e(3X11) before calling either of these functions.
  76.  
  77.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  78.           XSGIMiscQueryExtension(3X11), XListInputDevices(3X11),
  79.           XOpenDevice(3X11), input(7)
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.